package com.style_transfer.service.impl;

import com.style_transfer.dao.StyleDao;
import com.style_transfer.model.Style;
import com.style_transfer.service.StyleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class StyleServiceImpl implements StyleService {
    @Autowired
    private StyleDao styleDao;

    @Override
    public List<Style> getAllStyle() {
        return styleDao.getAllStyle();
    }
}
